package com.cn.shchuangge.projectwork;

import android.Manifest;
import android.app.Activity;
import android.app.Application;
import android.content.Context;
import android.content.pm.PackageManager;
import android.os.Handler;
import android.os.Looper;
import android.support.v4.app.ActivityCompat;

/**
 * Created by 赵航 on 2017/6/15.
 */


//初始化作为全局的上下文提供者,这里要实现很多逻辑
public class Chuangge extends Application {
    public static Context context;
    public static Handler mainHandler;


    @Override
    public void onCreate() {
        super.onCreate();
        context = this;
        mainHandler = new Handler(Looper.getMainLooper());



    }

}
